Your coolant temperature sensor may be faulty. Mine did the same thing when I bought it. When they fail, it sends a message to the ECU that the car has overheated and it will not start. Replaced that sensor ($25 and 10 minutes to install) and solved the problem instantly.